#import <UIKit/UIKit.h>

#import "framework/FWListView.h"

@class LITableView;
@class PIPlugin;
@class FWApplication;
@class FWColorIconView;


@interface PITodoView : FWListView

@property (retain) FWIconDotView* action;
@property (retain) UIImageView* flag;
@property (retain) FWColorIconView* tree;
@property (retain) FWColorIconView* repeat;
@property (retain) UIImageView* context;


- (id)initWithFrame:(CGRect)frame table:(LITableView *)table application:(FWApplication*)appl;
- (void)dealloc;

- (void)setViewForTable:(LITableView*)table application:(FWApplication*)app title:(NSString*)title due:(NSString*)dates dueShort:(NSString*)shortDates overdue:(BOOL)overdue importance:(int)importance priority:(NSString*)prty action:(int)actn flagged:(BOOL)flagged parent:(BOOL)parent child:(BOOL)child context:(BOOL)ctx showIcons:(BOOL)showIcons repeat:(BOOL)repeats;

@end
